#include "header.h"

inline float getTime()
{
	float Sec, Usec;
	struct timeval time;
	gettimeofday(&time,NULL);

	Sec=time.tv_sec%10000;	//Cutting Off a few insignificant digits that are too large to matter
	Usec=time.tv_usec;
	return (Sec+Usec/1000000);	//Divide the microsecond by 10^6 and add to the seconds for proper display.
}
